package com.solution.admin.auth.entity;

import java.util.List;

import com.solution.common.entity.BaseEntity;

/**
 * 用户信息实体类
 * @author llp
 * @date 2017年4月12日 下午2:41:08
 */
public class UserEntity extends BaseEntity {
	private static final long serialVersionUID = -3926291988306842687L;
	/**
	 * 用户编号
	 */
	private String userCode;
	/**
	 * 用户名称
	 */
	private String userName;
	/**
	 * 用户性别
	 */
	private String userGender;
	/**
	 * 出生年月
	 */
	private String birthday;
	/**
	 * 登录密码
	 */
	private String password;
	/**
	 * 密码加密盐
	 */
	private String passwordSalt;
	/**
	 * 部门编号
	 */
	private String orgId;

	/**
	 * 部门名称
	 */
	private String orgName;
	/**
	 * 岗位ID
	 */
	private String positionId;
	/**
	 * 岗位名称
	 */
	private String positionName;
	/**
	 * 角色名称 
	 */
	private String roleName;
	/**
	 * 固定电话
	 */
	private String telephone;
	/**
	 * 手机号码
	 */
	private String mobile;
	/**
	 * 微信openId
	 */
	private String openId;
	/**
	 * 电子邮件
	 */
	private String email;
	/**
	 * 版本
	 */
	private Integer version;

	/**
	 * 省
	 */
	private String provinceId;

	/**
	 * 市
	 */
	private String cityId;

	/**
	 * 区域
	 */
	private String areaId;

	/**
	 * 街道
	 */
	private String userAddress;

	/**
	 * 头像地址
	 */
	private String path;
	/**
	 * 用户角色
	 */
	private List<RoleEntity> roles;
	/**
	 * 经销商ID
	 */
	private Long dealerId;
	/**
	 * 经销商名称
	 */
	private String dealerName;
	
	 /**
     * 所属大区编码
     */
    private String bigAreaCode;

    /**
     * 所属大区名称
     */
    private String bigAreaName;

    /**
     * 分公司编码
     */
    private String branchCode;

    /**
     * 分公司名称
     */
    private String branchName;
    /**
     * 用户类型 1：管理员  2：业务员  3：经销商
     */
    private Integer userType;
    /**
    * 用户头像
    */
    private String headImage;
    
    /**
     * 商品详情页调价权限  1 允许  0 不允许
     */
    private String adjustPriceAuth;

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserGender() {
		return userGender;
	}

	public void setUserGender(String userGender) {
		this.userGender = userGender;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPasswordSalt() {
		return passwordSalt;
	}

	public void setPasswordSalt(String passwordSalt) {
		this.passwordSalt = passwordSalt;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public List<RoleEntity> getRoles() {
		return roles;
	}

	public void setRoles(List<RoleEntity> roles) {
		this.roles = roles;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getPositionId() {
		return positionId;
	}

	public void setPositionId(String positionId) {
		this.positionId = positionId;
	}

	public String getPositionName() {
		return positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public Long getDealerId() {
		return this.dealerId;
	}

	public void setDealerId(Long dealerId) {
		this.dealerId = dealerId;
	}
	
	public String getDealerName(){
		return this.dealerName;
	}
	public void setDealerName(String dealerName){
		this.dealerName=dealerName;
	}

	public String getBigAreaCode() {
		return bigAreaCode;
	}

	public void setBigAreaCode(String bigAreaCode) {
		this.bigAreaCode = bigAreaCode;
	}

	public String getBigAreaName() {
		return bigAreaName;
	}

	public void setBigAreaName(String bigAreaName) {
		this.bigAreaName = bigAreaName;
	}

	public String getBranchCode() {
		return branchCode;
	}

	public void setBranchCode(String branchCode) {
		this.branchCode = branchCode;
	}

	public String getBranchName() {
		return branchName;
	}

	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getHeadImage() {
		return headImage;
	}

	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}

	public String getAdjustPriceAuth() {
		return adjustPriceAuth;
	}

	public void setAdjustPriceAuth(String adjustPriceAuth) {
		this.adjustPriceAuth = adjustPriceAuth;
	}
	
}
